/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.close.basic.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hopes.bizz.common.core.annotation.ExcelDictImportValidate;
import com.hopes.boss.common.entity.ExcelDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 管控区域
 *
 * @author pig
 * @date 2023-10-20 09:03:39
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ClosedControlAreaExcelDTO extends ExcelDTO {

    private static final long serialVersionUID = 1L;


	/**
	* ID
	*/
    @ExcelProperty("ID")
	@ExcelIgnore
    private Long id;

	/**
	 * 所属企业
	 */
	@ExcelProperty("企业名称")
	@ExcelDictImportValidate(enumResolver = "sys_company", message = "企业名称数据解析异常")
	private String orgIdStr;

	/**
	* 区域名称
	*/
    @ExcelProperty("区域名称")
    private String name;

	/**
	* 管控级别
	*/
    @ExcelProperty("管控级别")
	@ExcelDictImportValidate(enumResolver = "close_area_control_level", message = "管控级别数据解析异常")
    private String levelStr;

	/**
	 * 是否使用
	 */
	@ExcelProperty("是否使用")
	@ExcelDictImportValidate(enumResolver = "yes_no_type", message = "是否使用数据解析异常")
	private String useFlagStr;

	/**
	* 备注
	*/
    @ExcelProperty("备注说明")
    private String remark;

}
